package com.minosiants.dann.repository{import com.mongodb.DBObject
trait	Repository	{			import com.minosiants.dann.data.BasicData		
	def findOne[T](qr:Query[T]):Option[BasicData]
	def find[T](qr:Query[T]):List[BasicData]
	def save(o:BasicData)
	def delete(o:BasicData)
	def delete(id:String)
}
case class Query[T](collectionName:String,					queryObject:Map[String,Object],					clazz:Class[T],					numToSkip: Int=0, 					batchSize: Int=0);}